public class EvalMaterialOnlyNeg extends EvalMaterialOnly {

    public EvalMaterialOnlyNeg() {
	super();
    }

    public int eval(Board board) {
        int eval = super.eval(board);

	if (board.blackToMove) {
	    return -eval;
	} else {
	    return eval;
	}
    }
}
